[INFO] fetching crate trezor-crypto 0.2.5...
[INFO] fixing trezor-crypto-0.2.5 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate trezor-crypto 0.2.5 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate trezor-crypto 0.2.5
[INFO] finished tweaking crates.io crate trezor-crypto 0.2.5
[INFO] tweaked toml for crates.io crate trezor-crypto 0.2.5 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate trezor-crypto 0.2.5 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 11 packages to latest compatible versions
[INFO] [stderr]       Adding generic-array v0.14.9 (available: v1.4.3)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 01e7a31a786df95bbc683bbf063f69566c722677ea46430d7e0e9f5af0e21690
[INFO] running `Command { std: "docker" "start" "01e7a31a786df95bbc683bbf063f69566c722677ea46430d7e0e9f5af0e21690", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "01e7a31a786df95bbc683bbf063f69566c722677ea46430d7e0e9f5af0e21690" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "01e7a31a786df95bbc683bbf063f69566c722677ea46430d7e0e9f5af0e21690", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "01e7a31a786df95bbc683bbf063f69566c722677ea46430d7e0e9f5af0e21690" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Compiling shlex v2.0.1
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling pkg-config v0.3.33
[INFO] [stderr]     Checking typenum v1.20.1
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking derivation-path v0.2.0
[INFO] [stderr]    Compiling cc v1.2.65
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling trezor-crypto-sys v0.1.2
[INFO] [stderr]     Checking trezor-crypto v0.2.5 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.60s
[INFO] [stderr] crater-edition-check: trezor-crypto v0.2.5 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]     Checking trezor-crypto v0.2.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated crate `generic_array`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/lib.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub extern crate generic_array;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `generic_array::ArrayLength`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/curve.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use generic_array::{ArrayLength, GenericArray};
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/curve.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | use generic_array::{ArrayLength, GenericArray};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `generic_array::ArrayLength`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/curve.rs:16:26
[INFO] [stdout]    |
[INFO] [stdout] 16 |     type SerializedSize: ArrayLength<u8>;
[INFO] [stdout]    |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `generic_array::ArrayLength`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/curve.rs:17:28
[INFO] [stdout]    |
[INFO] [stdout] 17 |     type UncompressedSize: ArrayLength<u8>;
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/curve.rs:22:28
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn serialize(&self) -> GenericArray<u8, Self::SerializedSize>;
[INFO] [stdout]    |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/curve.rs:23:41
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn serialize_uncompressed(&self) -> GenericArray<u8, Self::UncompressedSize>;
[INFO] [stdout]    |                                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `generic_array::ArrayLength`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/curve.rs:27:26
[INFO] [stdout]    |
[INFO] [stdout] 27 |     type SerializedSize: ArrayLength<u8>;
[INFO] [stdout]    |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/curve.rs:32:28
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn serialize(&self) -> GenericArray<u8, Self::SerializedSize>;
[INFO] [stdout]    |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/ecdsa/curve.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use generic_array::GenericArray;
[INFO] [stdout]   |                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:336:28
[INFO] [stdout]     |
[INFO] [stdout] 336 |     fn serialize(&self) -> GenericArray<u8, Self::SerializedSize> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:401:28
[INFO] [stdout]     |
[INFO] [stdout] 401 |     fn serialize(&self) -> GenericArray<u8, Self::SerializedSize> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:402:9
[INFO] [stdout]     |
[INFO] [stdout] 402 |         GenericArray::clone_from_slice(&self.serialize())
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:404:41
[INFO] [stdout]     |
[INFO] [stdout] 404 |     fn serialize_uncompressed(&self) -> GenericArray<u8, Self::UncompressedSize> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:405:9
[INFO] [stdout]     |
[INFO] [stdout] 405 |         GenericArray::clone_from_slice(&self.serialize_uncompressed())
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/ed25519.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use generic_array::GenericArray;
[INFO] [stdout]   |                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:179:28
[INFO] [stdout]     |
[INFO] [stdout] 179 |     fn serialize(&self) -> GenericArray<u8, Self::SerializedSize> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:239:28
[INFO] [stdout]     |
[INFO] [stdout] 239 |     fn serialize(&self) -> GenericArray<u8, Self::SerializedSize> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:240:9
[INFO] [stdout]     |
[INFO] [stdout] 240 |         GenericArray::clone_from_slice(&self.serialize())
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:242:41
[INFO] [stdout]     |
[INFO] [stdout] 242 |     fn serialize_uncompressed(&self) -> GenericArray<u8, Self::UncompressedSize> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:243:9
[INFO] [stdout]     |
[INFO] [stdout] 243 |         GenericArray::clone_from_slice(&self.serialize())
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:402:23
[INFO] [stdout]     |
[INFO] [stdout] 402 |         GenericArray::clone_from_slice(&self.serialize())
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:405:23
[INFO] [stdout]     |
[INFO] [stdout] 405 |         GenericArray::clone_from_slice(&self.serialize_uncompressed())
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:240:23
[INFO] [stdout]     |
[INFO] [stdout] 240 |         GenericArray::clone_from_slice(&self.serialize())
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:243:23
[INFO] [stdout]     |
[INFO] [stdout] 243 |         GenericArray::clone_from_slice(&self.serialize())
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated crate `generic_array`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/lib.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub extern crate generic_array;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `generic_array::ArrayLength`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/curve.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use generic_array::{ArrayLength, GenericArray};
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/curve.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | use generic_array::{ArrayLength, GenericArray};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `generic_array::ArrayLength`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/curve.rs:16:26
[INFO] [stdout]    |
[INFO] [stdout] 16 |     type SerializedSize: ArrayLength<u8>;
[INFO] [stdout]    |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `generic_array::ArrayLength`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/curve.rs:17:28
[INFO] [stdout]    |
[INFO] [stdout] 17 |     type UncompressedSize: ArrayLength<u8>;
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/curve.rs:22:28
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn serialize(&self) -> GenericArray<u8, Self::SerializedSize>;
[INFO] [stdout]    |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/curve.rs:23:41
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn serialize_uncompressed(&self) -> GenericArray<u8, Self::UncompressedSize>;
[INFO] [stdout]    |                                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `generic_array::ArrayLength`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/curve.rs:27:26
[INFO] [stdout]    |
[INFO] [stdout] 27 |     type SerializedSize: ArrayLength<u8>;
[INFO] [stdout]    |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/curve.rs:32:28
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn serialize(&self) -> GenericArray<u8, Self::SerializedSize>;
[INFO] [stdout]    |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/ecdsa/curve.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use generic_array::GenericArray;
[INFO] [stdout]   |                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:336:28
[INFO] [stdout]     |
[INFO] [stdout] 336 |     fn serialize(&self) -> GenericArray<u8, Self::SerializedSize> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:401:28
[INFO] [stdout]     |
[INFO] [stdout] 401 |     fn serialize(&self) -> GenericArray<u8, Self::SerializedSize> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:402:9
[INFO] [stdout]     |
[INFO] [stdout] 402 |         GenericArray::clone_from_slice(&self.serialize())
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:404:41
[INFO] [stdout]     |
[INFO] [stdout] 404 |     fn serialize_uncompressed(&self) -> GenericArray<u8, Self::UncompressedSize> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:405:9
[INFO] [stdout]     |
[INFO] [stdout] 405 |         GenericArray::clone_from_slice(&self.serialize_uncompressed())
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/ed25519.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use generic_array::GenericArray;
[INFO] [stdout]   |                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:179:28
[INFO] [stdout]     |
[INFO] [stdout] 179 |     fn serialize(&self) -> GenericArray<u8, Self::SerializedSize> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:239:28
[INFO] [stdout]     |
[INFO] [stdout] 239 |     fn serialize(&self) -> GenericArray<u8, Self::SerializedSize> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:240:9
[INFO] [stdout]     |
[INFO] [stdout] 240 |         GenericArray::clone_from_slice(&self.serialize())
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:242:41
[INFO] [stdout]     |
[INFO] [stdout] 242 |     fn serialize_uncompressed(&self) -> GenericArray<u8, Self::UncompressedSize> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:243:9
[INFO] [stdout]     |
[INFO] [stdout] 243 |         GenericArray::clone_from_slice(&self.serialize())
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:402:23
[INFO] [stdout]     |
[INFO] [stdout] 402 |         GenericArray::clone_from_slice(&self.serialize())
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:405:23
[INFO] [stdout]     |
[INFO] [stdout] 405 |         GenericArray::clone_from_slice(&self.serialize_uncompressed())
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:240:23
[INFO] [stdout]     |
[INFO] [stdout] 240 |         GenericArray::clone_from_slice(&self.serialize())
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:243:23
[INFO] [stdout]     |
[INFO] [stdout] 243 |         GenericArray::clone_from_slice(&self.serialize())
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ecdsa/curve.rs:256:17
[INFO] [stdout]     |
[INFO] [stdout] 256 |                   $name_ptr.as_ptr()
[INFO] [stdout]     |                   ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 261 | / ecdsa_curve!(
[INFO] [stdout] 262 | |     Secp256k1,
[INFO] [stdout] 263 | |     sys::secp256k1,
[INFO] [stdout] 264 | |     sys::secp256k1_info,
[INFO] [stdout] 265 | |     sys::SECP256K1_NAME
[INFO] [stdout] 266 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `ecdsa_curve` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ecdsa/curve.rs:256:17
[INFO] [stdout]     |
[INFO] [stdout] 256 |                   $name_ptr.as_ptr()
[INFO] [stdout]     |                   ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 267 | / ecdsa_curve!(
[INFO] [stdout] 268 | |     Nist256p1,
[INFO] [stdout] 269 | |     sys::nist256p1,
[INFO] [stdout] 270 | |     sys::nist256p1_info,
[INFO] [stdout] 271 | |     sys::NIST256P1_NAME
[INFO] [stdout] 272 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: this warning originates in the macro `ecdsa_curve` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ed25519.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         sys::ED25519_NAME.as_ptr()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ed25519.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         sys::ED25519_CARDANO_NAME.as_ptr()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/hd_node.rs:110:22
[INFO] [stdout]     |
[INFO] [stdout] 110 |     unsafe fn borrow(&self) -> HDNodeRef<C> {
[INFO] [stdout]     |                      ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 110 |     unsafe fn borrow(&self) -> HDNodeRef<'_, C> {
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/hd_node.rs:117:26
[INFO] [stdout]     |
[INFO] [stdout] 117 |     unsafe fn borrow_mut(&mut self) -> HDNodeMutRef<C> {
[INFO] [stdout]     |                          ^^^^^^^^^     ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 117 |     unsafe fn borrow_mut(&mut self) -> HDNodeMutRef<'_, C> {
[INFO] [stdout]     |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ecdsa/curve.rs:256:17
[INFO] [stdout]     |
[INFO] [stdout] 256 |                   $name_ptr.as_ptr()
[INFO] [stdout]     |                   ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 261 | / ecdsa_curve!(
[INFO] [stdout] 262 | |     Secp256k1,
[INFO] [stdout] 263 | |     sys::secp256k1,
[INFO] [stdout] 264 | |     sys::secp256k1_info,
[INFO] [stdout] 265 | |     sys::SECP256K1_NAME
[INFO] [stdout] 266 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `ecdsa_curve` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ecdsa/curve.rs:256:17
[INFO] [stdout]     |
[INFO] [stdout] 256 |                   $name_ptr.as_ptr()
[INFO] [stdout]     |                   ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 267 | / ecdsa_curve!(
[INFO] [stdout] 268 | |     Nist256p1,
[INFO] [stdout] 269 | |     sys::nist256p1,
[INFO] [stdout] 270 | |     sys::nist256p1_info,
[INFO] [stdout] 271 | |     sys::NIST256P1_NAME
[INFO] [stdout] 272 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: this warning originates in the macro `ecdsa_curve` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ed25519.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         sys::ED25519_NAME.as_ptr()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ed25519.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         sys::ED25519_CARDANO_NAME.as_ptr()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/hd_node.rs:110:22
[INFO] [stdout]     |
[INFO] [stdout] 110 |     unsafe fn borrow(&self) -> HDNodeRef<C> {
[INFO] [stdout]     |                      ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 110 |     unsafe fn borrow(&self) -> HDNodeRef<'_, C> {
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/hd_node.rs:117:26
[INFO] [stdout]     |
[INFO] [stdout] 117 |     unsafe fn borrow_mut(&mut self) -> HDNodeMutRef<C> {
[INFO] [stdout]     |                          ^^^^^^^^^     ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 117 |     unsafe fn borrow_mut(&mut self) -> HDNodeMutRef<'_, C> {
[INFO] [stdout]     |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.02s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]     Checking trezor-crypto v0.2.5 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/hd_node.rs (3 fixes)
[INFO] [stderr]        Fixed src/curve.rs (1 fix)
[INFO] [stderr]        Fixed src/ed25519.rs (2 fixes)
[INFO] [stderr]        Fixed src/ecdsa/curve.rs (3 fixes)
[INFO] [stderr]        Fixed src/hasher.rs (1 fix)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/utils/mod.rs:21:32
[INFO] [stdout]    |
[INFO] [stdout] 21 |         while let Some(item) = iter.next() {
[INFO] [stdout]    |                        ----    ^^^^^^^^^^^
[INFO] [stdout]    |                        |       |
[INFO] [stdout]    |                        |       this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]    |                        |       up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]    |                        `item` calls a custom destructor
[INFO] [stdout]    |                        `item` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 26 |         }
[INFO] [stdout]    |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ecdsa/curve.rs:256:17
[INFO] [stdout]     |
[INFO] [stdout] 256 |                   $name_ptr.as_ptr()
[INFO] [stdout]     |                   ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 261 | / ecdsa_curve!(
[INFO] [stdout] 262 | |     Secp256k1,
[INFO] [stdout] 263 | |     sys::secp256k1,
[INFO] [stdout] 264 | |     sys::secp256k1_info,
[INFO] [stdout] 265 | |     sys::SECP256K1_NAME
[INFO] [stdout] 266 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout]     = note: this warning originates in the macro `ecdsa_curve` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ecdsa/curve.rs:256:17
[INFO] [stdout]     |
[INFO] [stdout] 256 |                   $name_ptr.as_ptr()
[INFO] [stdout]     |                   ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 267 | / ecdsa_curve!(
[INFO] [stdout] 268 | |     Nist256p1,
[INFO] [stdout] 269 | |     sys::nist256p1,
[INFO] [stdout] 270 | |     sys::nist256p1_info,
[INFO] [stdout] 271 | |     sys::NIST256P1_NAME
[INFO] [stdout] 272 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: this warning originates in the macro `ecdsa_curve` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ed25519.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         sys::ED25519_NAME.as_ptr()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ed25519.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         sys::ED25519_CARDANO_NAME.as_ptr()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/utils/mod.rs:21:32
[INFO] [stdout]    |
[INFO] [stdout] 21 |         while let Some(item) = iter.next() {
[INFO] [stdout]    |                        ----    ^^^^^^^^^^^
[INFO] [stdout]    |                        |       |
[INFO] [stdout]    |                        |       this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]    |                        |       up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]    |                        `item` calls a custom destructor
[INFO] [stdout]    |                        `item` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 26 |         }
[INFO] [stdout]    |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ecdsa/curve.rs:256:17
[INFO] [stdout]     |
[INFO] [stdout] 256 |                   $name_ptr.as_ptr()
[INFO] [stdout]     |                   ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 261 | / ecdsa_curve!(
[INFO] [stdout] 262 | |     Secp256k1,
[INFO] [stdout] 263 | |     sys::secp256k1,
[INFO] [stdout] 264 | |     sys::secp256k1_info,
[INFO] [stdout] 265 | |     sys::SECP256K1_NAME
[INFO] [stdout] 266 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout]     = note: this warning originates in the macro `ecdsa_curve` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ecdsa/curve.rs:256:17
[INFO] [stdout]     |
[INFO] [stdout] 256 |                   $name_ptr.as_ptr()
[INFO] [stdout]     |                   ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 267 | / ecdsa_curve!(
[INFO] [stdout] 268 | |     Nist256p1,
[INFO] [stdout] 269 | |     sys::nist256p1,
[INFO] [stdout] 270 | |     sys::nist256p1_info,
[INFO] [stdout] 271 | |     sys::NIST256P1_NAME
[INFO] [stdout] 272 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: this warning originates in the macro `ecdsa_curve` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ed25519.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         sys::ED25519_NAME.as_ptr()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ed25519.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         sys::ED25519_CARDANO_NAME.as_ptr()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.64s
[INFO] [stderr] crater-edition-check: trezor-crypto v0.2.5 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking trezor-crypto v0.2.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated crate `generic_array`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/lib.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub extern crate generic_array;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `generic_array::ArrayLength`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/curve.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use generic_array::{ArrayLength, GenericArray};
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/curve.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | use generic_array::{ArrayLength, GenericArray};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `generic_array::ArrayLength`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/curve.rs:16:26
[INFO] [stdout]    |
[INFO] [stdout] 16 |     type SerializedSize: ArrayLength<u8>;
[INFO] [stdout]    |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `generic_array::ArrayLength`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/curve.rs:17:28
[INFO] [stdout]    |
[INFO] [stdout] 17 |     type UncompressedSize: ArrayLength<u8>;
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/curve.rs:22:28
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn serialize(&self) -> GenericArray<u8, Self::SerializedSize>;
[INFO] [stdout]    |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/curve.rs:23:41
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn serialize_uncompressed(&self) -> GenericArray<u8, Self::UncompressedSize>;
[INFO] [stdout]    |                                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `generic_array::ArrayLength`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/curve.rs:27:26
[INFO] [stdout]    |
[INFO] [stdout] 27 |     type SerializedSize: ArrayLength<u8>;
[INFO] [stdout]    |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/curve.rs:32:28
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn serialize(&self) -> GenericArray<u8, Self::SerializedSize>;
[INFO] [stdout]    |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/ecdsa/curve.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use generic_array::GenericArray;
[INFO] [stdout]   |                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:336:28
[INFO] [stdout]     |
[INFO] [stdout] 336 |     fn serialize(&self) -> GenericArray<u8, Self::SerializedSize> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:401:28
[INFO] [stdout]     |
[INFO] [stdout] 401 |     fn serialize(&self) -> GenericArray<u8, Self::SerializedSize> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:402:9
[INFO] [stdout]     |
[INFO] [stdout] 402 |         GenericArray::clone_from_slice(&self.serialize())
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:404:41
[INFO] [stdout]     |
[INFO] [stdout] 404 |     fn serialize_uncompressed(&self) -> GenericArray<u8, Self::UncompressedSize> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:405:9
[INFO] [stdout]     |
[INFO] [stdout] 405 |         GenericArray::clone_from_slice(&self.serialize_uncompressed())
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/ed25519.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use generic_array::GenericArray;
[INFO] [stdout]   |                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:179:28
[INFO] [stdout]     |
[INFO] [stdout] 179 |     fn serialize(&self) -> GenericArray<u8, Self::SerializedSize> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:239:28
[INFO] [stdout]     |
[INFO] [stdout] 239 |     fn serialize(&self) -> GenericArray<u8, Self::SerializedSize> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:240:9
[INFO] [stdout]     |
[INFO] [stdout] 240 |         GenericArray::clone_from_slice(&self.serialize())
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:242:41
[INFO] [stdout]     |
[INFO] [stdout] 242 |     fn serialize_uncompressed(&self) -> GenericArray<u8, Self::UncompressedSize> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:243:9
[INFO] [stdout]     |
[INFO] [stdout] 243 |         GenericArray::clone_from_slice(&self.serialize())
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated crate `generic_array`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/lib.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub extern crate generic_array;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `generic_array::ArrayLength`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/curve.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use generic_array::{ArrayLength, GenericArray};
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/curve.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | use generic_array::{ArrayLength, GenericArray};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `generic_array::ArrayLength`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/curve.rs:16:26
[INFO] [stdout]    |
[INFO] [stdout] 16 |     type SerializedSize: ArrayLength<u8>;
[INFO] [stdout]    |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `generic_array::ArrayLength`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/curve.rs:17:28
[INFO] [stdout]    |
[INFO] [stdout] 17 |     type UncompressedSize: ArrayLength<u8>;
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/curve.rs:22:28
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn serialize(&self) -> GenericArray<u8, Self::SerializedSize>;
[INFO] [stdout]    |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/curve.rs:23:41
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn serialize_uncompressed(&self) -> GenericArray<u8, Self::UncompressedSize>;
[INFO] [stdout]    |                                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `generic_array::ArrayLength`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/curve.rs:27:26
[INFO] [stdout]    |
[INFO] [stdout] 27 |     type SerializedSize: ArrayLength<u8>;
[INFO] [stdout]    |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/curve.rs:32:28
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn serialize(&self) -> GenericArray<u8, Self::SerializedSize>;
[INFO] [stdout]    |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/ecdsa/curve.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use generic_array::GenericArray;
[INFO] [stdout]   |                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:336:28
[INFO] [stdout]     |
[INFO] [stdout] 336 |     fn serialize(&self) -> GenericArray<u8, Self::SerializedSize> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:401:28
[INFO] [stdout]     |
[INFO] [stdout] 401 |     fn serialize(&self) -> GenericArray<u8, Self::SerializedSize> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:402:9
[INFO] [stdout]     |
[INFO] [stdout] 402 |         GenericArray::clone_from_slice(&self.serialize())
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:404:41
[INFO] [stdout]     |
[INFO] [stdout] 404 |     fn serialize_uncompressed(&self) -> GenericArray<u8, Self::UncompressedSize> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:405:9
[INFO] [stdout]     |
[INFO] [stdout] 405 |         GenericArray::clone_from_slice(&self.serialize_uncompressed())
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/ed25519.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use generic_array::GenericArray;
[INFO] [stdout]   |                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:179:28
[INFO] [stdout]     |
[INFO] [stdout] 179 |     fn serialize(&self) -> GenericArray<u8, Self::SerializedSize> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:239:28
[INFO] [stdout]     |
[INFO] [stdout] 239 |     fn serialize(&self) -> GenericArray<u8, Self::SerializedSize> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:240:9
[INFO] [stdout]     |
[INFO] [stdout] 240 |         GenericArray::clone_from_slice(&self.serialize())
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:242:41
[INFO] [stdout]     |
[INFO] [stdout] 242 |     fn serialize_uncompressed(&self) -> GenericArray<u8, Self::UncompressedSize> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:243:9
[INFO] [stdout]     |
[INFO] [stdout] 243 |         GenericArray::clone_from_slice(&self.serialize())
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:402:23
[INFO] [stdout]     |
[INFO] [stdout] 402 |         GenericArray::clone_from_slice(&self.serialize())
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:405:23
[INFO] [stdout]     |
[INFO] [stdout] 405 |         GenericArray::clone_from_slice(&self.serialize_uncompressed())
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:240:23
[INFO] [stdout]     |
[INFO] [stdout] 240 |         GenericArray::clone_from_slice(&self.serialize())
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:243:23
[INFO] [stdout]     |
[INFO] [stdout] 243 |         GenericArray::clone_from_slice(&self.serialize())
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:402:23
[INFO] [stdout]     |
[INFO] [stdout] 402 |         GenericArray::clone_from_slice(&self.serialize())
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ecdsa/curve.rs:405:23
[INFO] [stdout]     |
[INFO] [stdout] 405 |         GenericArray::clone_from_slice(&self.serialize_uncompressed())
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:240:23
[INFO] [stdout]     |
[INFO] [stdout] 240 |         GenericArray::clone_from_slice(&self.serialize())
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/ed25519.rs:243:23
[INFO] [stdout]     |
[INFO] [stdout] 243 |         GenericArray::clone_from_slice(&self.serialize())
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ecdsa/curve.rs:256:17
[INFO] [stdout]     |
[INFO] [stdout] 256 |                   $name_ptr.as_ptr()
[INFO] [stdout]     |                   ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 261 | / ecdsa_curve!(
[INFO] [stdout] 262 | |     Secp256k1,
[INFO] [stdout] 263 | |     sys::secp256k1,
[INFO] [stdout] 264 | |     sys::secp256k1_info,
[INFO] [stdout] 265 | |     sys::SECP256K1_NAME
[INFO] [stdout] 266 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout]     = note: this error originates in the macro `ecdsa_curve` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ecdsa/curve.rs:256:17
[INFO] [stdout]     |
[INFO] [stdout] 256 |                   $name_ptr.as_ptr()
[INFO] [stdout]     |                   ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 267 | / ecdsa_curve!(
[INFO] [stdout] 268 | |     Nist256p1,
[INFO] [stdout] 269 | |     sys::nist256p1,
[INFO] [stdout] 270 | |     sys::nist256p1_info,
[INFO] [stdout] 271 | |     sys::NIST256P1_NAME
[INFO] [stdout] 272 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: this error originates in the macro `ecdsa_curve` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ed25519.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         sys::ED25519_NAME.as_ptr()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ed25519.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         sys::ED25519_CARDANO_NAME.as_ptr()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/hd_node.rs:110:22
[INFO] [stdout]     |
[INFO] [stdout] 110 |     unsafe fn borrow(&self) -> HDNodeRef<C> { unsafe {
[INFO] [stdout]     |                      ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 110 |     unsafe fn borrow(&self) -> HDNodeRef<'_, C> { unsafe {
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/hd_node.rs:117:26
[INFO] [stdout]     |
[INFO] [stdout] 117 |     unsafe fn borrow_mut(&mut self) -> HDNodeMutRef<C> { unsafe {
[INFO] [stdout]     |                          ^^^^^^^^^     ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 117 |     unsafe fn borrow_mut(&mut self) -> HDNodeMutRef<'_, C> { unsafe {
[INFO] [stdout]     |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `trezor-crypto` (lib) due to 4 previous errors; 27 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ecdsa/curve.rs:256:17
[INFO] [stdout]     |
[INFO] [stdout] 256 |                   $name_ptr.as_ptr()
[INFO] [stdout]     |                   ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 261 | / ecdsa_curve!(
[INFO] [stdout] 262 | |     Secp256k1,
[INFO] [stdout] 263 | |     sys::secp256k1,
[INFO] [stdout] 264 | |     sys::secp256k1_info,
[INFO] [stdout] 265 | |     sys::SECP256K1_NAME
[INFO] [stdout] 266 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout]     = note: this error originates in the macro `ecdsa_curve` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ecdsa/curve.rs:256:17
[INFO] [stdout]     |
[INFO] [stdout] 256 |                   $name_ptr.as_ptr()
[INFO] [stdout]     |                   ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 267 | / ecdsa_curve!(
[INFO] [stdout] 268 | |     Nist256p1,
[INFO] [stdout] 269 | |     sys::nist256p1,
[INFO] [stdout] 270 | |     sys::nist256p1_info,
[INFO] [stdout] 271 | |     sys::NIST256P1_NAME
[INFO] [stdout] 272 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: this error originates in the macro `ecdsa_curve` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ed25519.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         sys::ED25519_NAME.as_ptr()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ed25519.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         sys::ED25519_CARDANO_NAME.as_ptr()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/hd_node.rs:110:22
[INFO] [stdout]     |
[INFO] [stdout] 110 |     unsafe fn borrow(&self) -> HDNodeRef<C> { unsafe {
[INFO] [stdout]     |                      ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 110 |     unsafe fn borrow(&self) -> HDNodeRef<'_, C> { unsafe {
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/hd_node.rs:117:26
[INFO] [stdout]     |
[INFO] [stdout] 117 |     unsafe fn borrow_mut(&mut self) -> HDNodeMutRef<C> { unsafe {
[INFO] [stdout]     |                          ^^^^^^^^^     ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 117 |     unsafe fn borrow_mut(&mut self) -> HDNodeMutRef<'_, C> { unsafe {
[INFO] [stdout]     |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `trezor-crypto` (lib test) due to 4 previous errors; 27 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "01e7a31a786df95bbc683bbf063f69566c722677ea46430d7e0e9f5af0e21690", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "01e7a31a786df95bbc683bbf063f69566c722677ea46430d7e0e9f5af0e21690", kill_on_drop: false }`
[INFO] [stdout] 01e7a31a786df95bbc683bbf063f69566c722677ea46430d7e0e9f5af0e21690
